package com.csun.cmny.provider.service;

import com.csun.cmny.base.dto.LoginAuthDto;
import com.csun.cmny.core.support.IService;
import com.csun.cmny.provider.model.domain.OmcOldmanPaidExpenseItem;
import com.csun.cmny.provider.model.dto.old_out.OldmanPaidQueryDto;
import com.csun.cmny.provider.model.vo.OmcOldmanPaidItemVo;
import com.csun.cmny.provider.model.vo.revise.OldmanPaymentFeeVo;

import java.util.List;

public interface OmcOldmanPaidExpenseItemService extends IService<OmcOldmanPaidExpenseItem> {

    /**
     * 老人支付项目查询 入院最后一个页面展示信息用
     * @param: [oldmanId, loginAuthDto]
     * @return: com.csun.cmny.provider.model.vo.BillOldmanInfoVo
     */
    OmcOldmanPaidItemVo queryPaidItemByOldmanId(Long oldmanId, LoginAuthDto loginAuthDto);

    /**
     * 老人支付项目批量保存 添加之前需要删除该老人之前保存的消费项目
     * @param: [oldmanPaidExpenseItemList]
     * @return: int
     */
    int batchSaveOldmanPaidExpenseItem(List<OmcOldmanPaidExpenseItem> oldmanPaidExpenseItemList);

    /**
     * query oldman check in payment paid item list
     *
     * @param oldmanPaidQueryDto    the oldman paid query dto
     *
     * @return  the list.
     */
    List<OldmanPaymentFeeVo> queryPaidItemList(OldmanPaidQueryDto oldmanPaidQueryDto);
}
